<template>
  <div class="lee-logic-flow">
    <!-- LogicFlow 画布 -->
    <div ref="leeLogicFlowContainer"></div>
  </div>
</template>

<script setup lang="ts">
import { useLifecycleHooks } from "./utils/lifecycle-hooks";
const { useOnMountedHooks, useOnUnmountedHooks, lf, lfContainer } =
  useLifecycleHooks();
// 正确调用 onMounted 和 onUnmounted，它们需要传入回调函数作为参数
useOnMountedHooks();
useOnUnmountedHooks();
</script>

<style scoped lang="scss">
.lee-logic-flow {
  padding: 20px;
}
</style>
